home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / jed096_1.zip / SLANG / README < prev    next >
Text File  |  1994-04-26  |  3KB  |  72 lines

  1.     ----- S-Lang README file and installation instructions ------
  2.  
  3. The files in this distribution include:
  4.  
  5.   README        This file.  Installation instructions.
  6.   COPYING       Copyright
  7.   COPYRIGHT     Copyright
  8.  
  9. Application specific files: (example is a programmable calculator)
  10.  
  11.   calc.c    main program for calculator
  12.   calc.sl    sample S-Lang file loaded by calc.
  13.   makefile.*    makefile for S-Lang library and calculator
  14.   VMSmake.com   VMS 'makefile' 
  15.   
  16. Documentation:
  17.  
  18.   slang.txt     Description of S-Lang language
  19.   slang.how     How to embed S-Lang into a C program
  20.   
  21. S-Lang library specific files.
  22.  
  23.   jmalloc.h    system dependent malloc definitions
  24.   config.h      configuration file
  25.   slang.c    main code for S-Lang interpreter
  26.   slang.h       include file for all S-Lang applications
  27.   _slang.h      include file for interpreter modules.
  28.   slstd.c       standard S-Lang intrinsics module
  29.   slmath.c    floating point math functions
  30.   slfile.c      file i/o module
  31.   slparse.c     Infix -> RPN parser
  32.   slarray.c     Array operations
  33.   slarray.h     include file
  34.   slunix.c      unix functions, e.g., stat, etc...
  35.   slregexp.c    regular expression package
  36.  
  37. If you wish to be on the S-Lang mailing list, simply send me an email with
  38. your email address.  I use the mailing list to announce new releases of
  39. S-Lang and to report any bugs.  Send an email to:
  40.  
  41. davis@amy.tch.harvard.edu
  42.  
  43. ------------------------------------------------------------------------------
  44.  
  45. Installation instructions.
  46.  
  47. Building the S-Lang library requires a C compiler that understands function
  48. prototypes.  On SunOS, you will need gcc.
  49.  
  50. S-Lang has been successfully compiled and tested on many platforms and OSs
  51. (Unix/VMS/PC-MSDOS/OS2).   There are at least 4 makefiles included in the
  52. distribution:
  53.  
  54.      makefile.unx    Unix
  55.      makefile.dos    MS-DOS (Borland BCC specific)
  56.      makefile.os2    OS2 makefile
  57.      makefile.djg    DJGPP (GO32) specific
  58.      vmsmake.com     VMS DCL command procedure 
  59.      
  60. As usual, look at the relavent makefile and edit it as required for your
  61. system.  On VMS, just type `@vmsmake' or if you have gcc, type `@vmsmake gcc'.
  62. For non-VMS systems, copy the appropriate makefile.xxx to `makefile'.  Then
  63. after editing it, simply type `make'.
  64.  
  65. The library comes with a sample program called calc.  Once you have
  66. successfully built the S-Lang library,  simply type `make calc' to build the
  67. sample application.  This step is not necessary if you are running VMS.
  68.  
  69. Finally not that some Unix systems do not have `ranlib'.  If you see an
  70. error indicating this fact, simply ignore it.
  71.  
  72.